package com.ling.toolbox.util;

import android.content.Context;
import android.view.Gravity;
import android.widget.Toast;

/**
 * Created by lingquan(quan.ling@hotmail.com) on 16/1/26.
 */
public class ToastUtil {
    public static void show(Context context, String msg) {
        Toast t = Toast.makeText(context, msg, Toast.LENGTH_LONG);
        t.setGravity(Gravity.CENTER, 0, 0);
        t.show();
    }
}
